package com.mask.common.swagger.config;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;

@Data
@ConfigurationProperties(prefix = "mask.swagger")
public class SwaggerProperties {
    /**
     * 是否启用swagger
     */
    private Boolean enabled = true;

    /**
     * 标题
     */
    private String title = "接口文档";

    /**
     * 描述
     */
    private String description = "Mask API文档";

    /**
     * 版本
     */
    private String version = "1.0.0";

    /**
     * 作者
     */
    private String author = "mask";

    /**
     * 联系方式
     */
    private String email = "mask@example.com";

    /**
     * 许可证
     */
    private String license = "Apache 2.0";

    /**
     * 许可证URL
     */
    private String licenseUrl = "https://www.apache.org/licenses/LICENSE-2.0.html";

    /**
     * 服务条款URL
     */
    private String termsOfServiceUrl = "";

    /**
     * host信息
     */
    private String host = "";

    /**
     * 扫描的包路径
     */
    private String basePackage = "com.mask";

    /**
     * 分组名称
     */
    private String groupName = "default";
}